# coding=utf-8
import time
import pyautogui

if __name__ == '__main__':
    i = 0
    while i < 100:
        i = i + 1
        time.sleep(2)
        # 获取当前鼠标位置
        x, y = pyautogui.position()
        print(f"当前鼠标位置：({x}, {y})")

        # 将鼠标移动到指定位置（例如：x=100, y=200）
        pyautogui.moveTo(1253, 780)
        pyautogui.click()
        time.sleep(1)

        pyautogui.moveTo(1141, 841)
        pyautogui.click()
        time.sleep(1)

        pyautogui.moveTo(1041, 579)
        pyautogui.click()
